lcEntBreak Home

Divides entity on 2 parts at specified point.
The function can be applied to the following entity types: Line, Polyline, Arc

 HANDLE lcEntBreak (
   HANDLE hEntity,
   double X,
   double Y,
   double Delta,
   BOOL bSelectNew,
   BOOL bDeleteEnt
 );

Parameters
hEntity
  Handle to a graphic object to be splitted.
X Y
  A point placed near entity outline.
Delta
  Maximum allowed distance between entity outline and the point.
bSelectNew
  If TRUE then the derived entities will be added into selection set.
bDeleteEnt
  If TRUE then the source entity will be deleted.

Return Value

  A handle to the first result entity, or NULL if the function fails.

See Also

  Code sample,   LC_CMD_BREAK,   lcEntBreak2,   lcEntSplit